gskglcommandqueue: Mark some variables G_GNUC_UNUSED
authorTimm Bäder <mail@baedert.org>
Thu, 16 Dec 2021 10:04:37 +0000 (11:04 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 16 Dec 2021 10:06:50 +0000 (11:06 +0100)
These are unused if sysprof isn't being used.

gsk/gl/gskglcommandqueue.c

index fa8ac1defb974bbc42a063b38c82549403a62688..3c7762e6fce6246cd359ffb33ce81c1d965fc662 100644 (file)
@@ -952,9 +952,9 @@ gsk_gl_command_queue_execute (GskGLCommandQueue    *self,
   guint program = 0;
   guint width = 0;
   guint height = 0;
-  guint n_binds = 0;
+  G_GNUC_UNUSED guint n_binds = 0;
   guint n_fbos = 0;
-  guint n_uniforms = 0;
+  G_GNUC_UNUSED guint n_uniforms = 0;
   guint n_programs = 0;
   guint vao_id;
   guint vbo_id;